package com.i9he.ping.sms;

import java.util.LinkedHashMap;
import java.util.Map;

import com.alibaba.fastjson.JSON;

public class TaobaoRegisterSms extends TaobaoSms {

	private String product;

	@Override
	public void send(String recNum, String message) throws Exception {
		Map<String, Object> params = new LinkedHashMap<String, Object>();
		params.put("code", message);
		params.put("product", product);

		String content = JSON.toJSONString(params);
		super.send(recNum, content);
	}

	public void setProduct(String product) {
		this.product = product;
	}

}
